package com.chezhujie.www.domain;

import com.chezhujie.www.core.init.mysql.BaseEntity;
import com.chezhujie.www.core.init.mysql.annotation.Column;
import com.chezhujie.www.core.init.mysql.annotation.Entity;
import com.chezhujie.www.core.init.mysql.annotation.Id;
import com.chezhujie.www.core.init.mysql.annotation.Table;

import java.util.Date;

/**
 * Created by 汤伟杰 on 2017/5/31.
 */
@Entity
@Table(name = "czj_commodityimage",describe = "商品图片表")
public class Czjcommodityimage extends BaseEntity{
    @Id
    @Column(length = 19,describe = "主键" ,inputType = "hidden")
    private String id;
    @Column(length = 19,describe = "商品",inputType = "select",inputCode = "str")
    private String commodityId;
    @Column(length = 1,describe = "图片类别",inputType = "select",inputCode = "pictype")
    private Integer picType;
    @Column(length = 255,describe = "图片地址",inputType = "file")
    private String imagePath;
    @Column(length = 10,describe = "图片顺序",inputType = "int")
    private Integer sequ;
    @Column(describe = "审批状态",length = 1,defalt = "0",inputType = "select",inputCode = "approvestatus")
    private Integer approveStatus;
    @Column(describe = "审批时间",inputType = "date")
    private Date approveTime;
    private Date approveTimeStart;
    private Date approveTimeEnd;
    @Column(describe = "创建时间",inputType = "date")
    private Date createTime;
    private Date createTimeStart;
    private Date createTimeEnd;
    @Column(describe = "删除标识",length = 1,defalt = "0",inputType = "hidden")
    private Integer delFlag;


    
    
    

	public Integer getSequ() {
		return sequ;
	}

	public void setSequ(Integer sequ) {
		this.sequ = sequ;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }

    public Integer getPicType() {
        return picType;
    }

    public void setPicType(Integer picType) {
        this.picType = picType;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTimeStart() {
        return createTimeStart;
    }

    public void setCreateTimeStart(Date createTimeStart) {
        this.createTimeStart = createTimeStart;
    }

    public Date getCreateTimeEnd() {
        return createTimeEnd;
    }

    public void setCreateTimeEnd(Date createTimeEnd) {
        this.createTimeEnd = createTimeEnd;
    }

    public Integer getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(Integer approveStatus) {
        this.approveStatus = approveStatus;
    }

    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    public Date getApproveTimeStart() {
        return approveTimeStart;
    }

    public void setApproveTimeStart(Date approveTimeStart) {
        this.approveTimeStart = approveTimeStart;
    }

    public Date getApproveTimeEnd() {
        return approveTimeEnd;
    }

    public void setApproveTimeEnd(Date approveTimeEnd) {
        this.approveTimeEnd = approveTimeEnd;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}
